<?php
namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

/**
 *
 */
class Banks extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';

	public function updateInfo($map,$data)
    {
        return $this->where($map)->update($data);        
    }
     public function addInfo($data)
    {
        $rel = $this->insertGetId($data);
        return $rel;
    }
}
